import java.util.Date;
import java.util.TreeSet;

public class TreeSetError2 {
    public static void main(String[] args) {
        TreeSet ts = new TreeSet();

        ts.add(new String("Crazy Java"));
        ts.add(new Date()); //1

    }
}
